package com.scwatch.core.fulltext;

import com.scwatch.core.domain.Node;

public interface NodeFulltextGenerator {

	public void addDocument(Node[] beans);

	public void updateDocument(Node[] beans);

	public void deleteDocuments(Node[] beans);

    /**
     * 生成父栏目下级栏目索引
     * @param siteId
     * @param parent
     * @param userId
     */
	public void addDocument(Integer siteId, final Node parent, Integer userId);
}
